.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
  width: 600px;
  margin: 30px auto;
  background-color: #fff;
  border: 1px solid #999;
  border-radius: 6px;
  opacity: 1;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.close {
  border: 0;
  float: right;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  padding: 0;
  opacity: 0.2;
}

.close:hover {
  opacity: 0.5;
}

.modal-body {
  padding: 15px;
}

.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #eee;
}